package com.ruoyi.record.service;

import java.util.List;
import com.ruoyi.record.domain.RecordLeave;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 请假记录Service接口
 * 
 * @author ruoyi
 * @date 2022-11-10
 */
public interface IRecordLeaveService extends IService<RecordLeave>
{
    /**
     * 查询请假记录
     * 
     * @param leaveId 请假记录主键
     * @return 请假记录
     */
    public RecordLeave selectRecordLeaveByLeaveId(Long leaveId);

    /**
     * 查询请假记录列表
     * 
     * @param recordLeave 请假记录
     * @return 请假记录集合
     */
    public List<RecordLeave> selectRecordLeaveList(RecordLeave recordLeave);

    /**
     * 新增请假记录
     * 
     * @param recordLeave 请假记录
     * @return 结果
     */
    public int insertRecordLeave(RecordLeave recordLeave);

    /**
     * 修改请假记录
     * 
     * @param recordLeave 请假记录
     * @return 结果
     */
    public int updateRecordLeave(RecordLeave recordLeave);

    /**
     * 批量删除请假记录
     * 
     * @param leaveIds 需要删除的请假记录主键集合
     * @return 结果
     */
    public int deleteRecordLeaveByLeaveIds(String leaveIds);

    /**
     * 删除请假记录信息
     * 
     * @param leaveId 请假记录主键
     * @return 结果
     */
    public int deleteRecordLeaveByLeaveId(Long leaveId);

    /**
     * 查询待审批请假列表
     *
     * @param recordLeave 请假记录
     * @return 请假记录集合
     */
    public List<RecordLeave> selectVerifyLeaveList(RecordLeave recordLeave);

    /**
     * 打印查询
     *
     * @param leaveId 请假记录主键
     * @return 请假记录
     */
    public RecordLeave selectRecordLeaveByPrint(Long leaveId);
}
